package cn.scau.edu.software.lgh.entity;

import java.util.Timer;
import java.util.Vector;

public class Route {

    private String routeId;

    private Vector<NetWork> linkedNetworks;

    private Vector<RouteListData> routeListDatas;

    private Timer updataTimer;

    public Route(String routeId, Timer updataTimer) {
        this.routeId = routeId;
        this.updataTimer = updataTimer;
        linkedNetworks = new Vector<>();
        routeListDatas = new Vector<>();
    }

    public Vector<NetWork> getLinkedNetworks() {
        return linkedNetworks;
    }

    public void setLinkedNetworks(Vector<NetWork> linkedNetworks) {
        this.linkedNetworks = linkedNetworks;
    }

    public String getRouteId() {
        return routeId;
    }

    public void setRouteId(String routeId) {
        this.routeId = routeId;
    }

    public Vector<RouteListData> getRouteListDatas() {
        return routeListDatas;
    }

    public void setRouteListDatas(Vector<RouteListData> routeListDatas) {
        this.routeListDatas = routeListDatas;
    }
}
